package com.assignwork.service;

import com.assignwork.dto.DailyPlanRemarkSubmitDTO;
import com.assignwork.entity.DailyPlanRemark;
import com.assignwork.vo.DailyPlanRemarkVO;
import org.springblade.core.mp.base.BaseService;

/**
 * @ClassName IDailyPlanRemarkService
 * @Description 昼夜计划备注接口
 * @Author dujianyu
 * @Date 2023/12/24 14:39
 */
public interface IDailyPlanRemarkService extends BaseService<DailyPlanRemark> {
    /**
     * 新增或修改
     * @param dto 数据
     * @return boolean
     * @author dujianyu
     * @since 2023/12/24 14:48
     */
    boolean submitRemark(DailyPlanRemarkSubmitDTO dto);

    /**
     * 根据昼夜计划ID返回备注
     * @param planId 昼夜计划ID
     * @return DailyPlanRemarkVO
     * @author dujianyu
     * @since 2023/12/24 15:13
     */
    DailyPlanRemarkVO remarkByPlanId(Long planId);
}
